#include<iostream>
using namespace std;
#include <iomanip>
#include<cmath>
int measure(int a, int b)
{
    int temp = 0;
    for (temp = a;; temp--)
    {
        if (a % temp == 0 && b % temp == 0)
            break;
    }

    return temp;


}

int  main()
{
    int a, b;
    cin >> a >> b;
    cout << (a * b / measure(temp)) =


}

